def call(String recipients) {
    def job_status = currentBuild.currentResult
    emailext(subject: "Build $job_status - ${JOB_NAME} #${BUILD_NUMBER} ",
            body: '''
            <p> <a style = "font-size:14px;text-decoration:underline;font-weight:bold" href="${BUILD_URL}/console">${JOB_NAME} - build# ${BUILD_NUMBER} </a></p>
            ''',  
            attachLog: true,
            mimeType: 'text/html', 
            from: '"Jenkins server" <chao.m.qiao@foxmail.com>', 
            to: "$recipients",
            recipientProviders: [requestor(),developers()])
}